package com.mf.utils.tree;


import java.util.List;

public interface TreeNode<T extends TreeNode<T, K>, K> {
    K getId();

    K getPid();

    Integer getSort();

    List<T> getChildren();

    void addChildren(T children);

    void setChildren(List<T> children);
}
